﻿/*layout*/
body {
    background-color: #fcfcf5;
}

.header, .main, .footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.main {
    overflow: hidden;
}

.side_nav {
    width: 120px;
    float: left;
}

.content {
    margin-left: 120px;
}
/*common*/
a {
    color: #666;
}

    a:hover {
        color: #ff6a00;
        text-decoration: none;
    }

td {
    padding: .5em;
}
.text-box {
    width: 500px;
}

.multi-line {
    height: 80px;
}
/*header*/
.header {
    background-color: #BABFDF;
    overflow: hidden;
}

    .header .left {
        float: left;
    }

    .header .right {
        float: right;
    }

    .header ul li {
        float: left;
    }

    .header a {
        line-height: 26px;
        text-align: center;
        padding: 0 1em;
    }
/*main-left*/
.side_nav ul {
    border: 1px solid #eee;
    padding: 1em;
}

.side_nav a {
    width: 98px;
    display: inline-block;
    line-height: 26px;
    text-align: center;
    margin:.5em 0;
    border:1px solid #d8dfea;
}

.config .config,
.slide .slide,
.category .category,
.post .post,
.page .page,
.menu .menu,
.message .message {
    background-color:#BABFDF;
    border:1px solid #fff;
    font-weight:bold;
}
/*main-content*/
.content {
    padding: 0 2em 2em 2em;
    border-left: 1px solid #fff;
}
.content a,table form input{
    border:1px solid #BABFDF;
    line-height:30px;
    display:inline-block;
    height:30px;
    border-radius:4px;
    padding:0 .5em;
    margin:0;
    background-color:#ddd;
}
table{
    margin:1em 0;
}
fieldset {
    border: 1px solid #808080;
    padding: 1em;
}
/*footer*/
.footer {
    border-top: 1px solid #eee;
}

    .footer p {
        text-align: center;
        padding: 1em;
    }
/* Pager */
.pager {
    margin: 8px 3px;
    padding: 3px;
}

    .pager .disabled {
        border: 1px solid #ddd;
        color: #999;
        margin-top: 4px;
        padding: 3px;
        text-align: center;
    }

    .pager .current {
        background-color: #6ea9bf;
        border: 1px solid #6e99aa;
        color: #fff;
        font-weight: bold;
        margin-top: 4px;
        padding: 3px 5px;
        text-align: center;
    }

    .pager span, .pager a {
        margin: 4px 3px;
    }

    .pager a {
        border: 1px solid #aaa;
        padding: 3px 5px;
        text-align: center;
        text-decoration: none;
    }

h2.title {
    color: red;
}

h2 {
    background-color: #fff;
    border: 1px solid #e8e7d0;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 30px;
    margin: 0.5em 0;
    text-indent: 1em;
}
/*mvc*/
.requiredtag {
    color: red;
    display: inline-block;
    width: 1em;
}

.autolabel {
    text-align: right;
}

.valign {
    display: inline;
    line-height: 30px;
}

.submit {
    padding: 0 1em;
    line-height: 24px;
    text-indent: .5em;
    font-size: 14px;
    letter-spacing: .5em;
    text-align: center;
}

.single-line {
    width: 300px;
    padding: 2px;
    line-height: 24px;
    vertical-align: middle;
}

.check-box {
    vertical-align: middle;
}

input.captcha {
    width: 180px;
    vertical-align: middle;
}

img.captcha {
    vertical-align: middle;
}

.field-validation-error {
    background: url("Images/error.png") no-repeat left center;
    padding-left: 24px;
    color: red;
}
/*table*/
.table {
width:100%;
padding: 0px;
font-family:Arial, Tahoma, Verdana, Sans-Serif,宋体;
border-left:1px solid #ADD8E6;
border-collapse:collapse;
}
/*表头样式。*/
.table th {
font-size:12px;
font-weight:600;
color: #303030;
border-right: 1px solid #ADD8E6;
border-bottom: 1px solid #ADD8E6;
border-top: 1px solid #ADD8E6;
letter-spacing: 2px;
text-align: left;
padding: 10px 0px 10px 0px;
background: url(../images/tablehdbg.png);
white-space:nowrap;
text-align:center;
overflow: hidden;
}
/*单元格样式。*/
.table td {
border-right: 1px solid #ADD8E6;
border-bottom: 1px solid #ADD8E6;
background: #fff;
font-size:12px;
padding: 3px 3px 3px 6px;
color: #303030;
word-break:break-all;
word-wrap:break-word;
white-space:normal;
} 